package com.tieto.wiankowski.plyty.ejb.logic.service;

import java.util.List;

import javax.ejb.EJB;
import javax.ejb.Stateless;

import com.tieto.wiankowski.plyty.ejb.logic.dao.InventoryDao;
import com.tieto.wiankowski.plyty.ejb.model.Inventory;

@Stateless
public class InventoryServiceImpl implements InventoryService {
	
	@EJB
	private InventoryDao inventoryDao;
	
	public InventoryDao getInventoryDao() {
		return inventoryDao;
	}

	public void setInventoryDao(InventoryDao inventoryDao) {
		this.inventoryDao = inventoryDao;
	}

	public List<Inventory> getAllInventory() {
		return inventoryDao.getAllInventory();
	}

}
